<jsp:useBean id="db" scope="session" class="com.jipl.Masters.DatabaseBean"/>
<jsp:setProperty name="db" property="*"/>  
<%@ page import="java.io.* , java.util.*, java.sql.*,  com.jipl.login.*"%>
<%
request.getSession(true);
String ina=session.getAttribute("ina").toString();

String group=request.getParameter("group");

String type=request.getParameter("dgn1");


String ins="update igroup set igname='"+type+"' where itname='"+ina+"' and igname='"+group+"'";
int ss=db.updateSQL(ins);
if (ss>0)
out.println("<script language='javascript'>alert('Group Renamed!...'); location='editGroup.jsp';</script>");
else
out.println("<script language='javascript'>alert('Group Not Renamed !...');location='editGroup.jsp';</script>");
%>